package com.zsl.consumer.ctrl;

import com.zsl.consumer.api.OperationConsumerApi;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.Map;

/**
 * 模式消费者
 */
@RestController
public class OperationConsumerCtrl {

	@Resource
	private OperationConsumerApi operationConsumerApi;

	@GetMapping("/opt/tryTime")
	public String getTryTime() {
		return operationConsumerApi.trytime();
	}


}
